package com.kakaxi.mybilibili.bean;

/**
 * 事件巴士传递对象
 * Created by kakaxi on 16/12/6.
 */

public class EventBusObject {

    /** 类型 **/
    private int event;

    /** 数据对象 **/
    private Object data;

    public EventBusObject() {
    }

    public EventBusObject(int event, Object data) {
        this.event = event;
        this.data = data;
    }

    public int getEvent() {
        return event;
    }

    public void setEvent(int event) {
        this.event = event;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    /** 主界面切换标签 **/
    public static final int EVENT_MAIN_ACT_TURN_PAGE = 1;

    /** 分类分区切换标签 **/
    public static final int EVENT_CATEGORY_AREA_ACT_TURN_PAGE = 2;

    /** 综合视频碎片显示搜索结果 **/
    public static final int EVENT_SEARCH_VIDEO_FRAG_SHOW_SEARCH = 3;

    /** 直播所有分类活动显示数据 **/
    public static final int EVENT_LIVE_ALL_CATEGORY_ACT_SHOW_DATA = 4;

    /** 视频介绍碎片显示信息 **/
    public static final int EVENT_VIDEO_INTRO_FRAG_SHOW_INFO = 5;

    /** 主界面活动更新用户信息 **/
    public static final int EVENT_MAIN_ACT_UPDATE_USER_INFO = 6;

}
